getBufferData

abstract fun getBufferData(uri: Uri, offset: Int, length: Int): ByteBuffer

Get the data of a buffer.

Return

the data read from the buffer or an error.

Parameters

uri

the uri of the buffer.

offset

the offset in bytes at which to start reading.

length

the number of bytes to read.